package com.zp.self.module.令牌桶.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zp.self.entity.SysUser;
import com.zp.self.module.令牌桶.mapper.SysUserMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author zengpeng
 * @since 2020-12-15
 */
@Slf4j
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {

    /**
     * 通过用户名查询用户
     *
     * @param userName 用户名
     * @return 用户对象信息
     */
    @Override
    public SysUser selectUserByUserName(String userName) {
        return this.getBaseMapper().selectUserByUserName(userName);
    }

}
